//
//  MHBindSuccessViewController.m
//  MiaoCircle
//
//  Created by 许正荣 on 2018/6/26.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHBindSuccessViewController.h"
#import "MHBindSucessViewModel.h"

@interface MHBindSuccessViewController ()

@property(nonatomic, strong) MHBindSucessViewModel *viewModel;

@end

@implementation MHBindSuccessViewController
@dynamic viewModel;

- (void)viewDidLoad {
    [super viewDidLoad];
    self.bindSuccessLabel.font = MHRegularFont_18;
    self.bindPhoneLabel.font = MHRegularFont_14;
    self.modifyPhoneBtn.titleLabel.font = MHSemiboldFont(15);
    self.modifyPhoneBtn.rac_command = self.viewModel.redirectToBind;
    self.modifyPhoneBtn.layer.cornerRadius = 10;
    self.modifyPhoneBtn.layer.masksToBounds = YES;
    self.modifyPhoneBtn.layer.borderWidth = 1;
    self.modifyPhoneBtn.layer.borderColor = MHTextColor333.CGColor;
    self.bindPhoneLabel.text  = [MHHTTPService sharedInstance].currentUser.bindPhone;
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
